<?php
//$config_module = "{$_SERVER["DOCUMENT_ROOT"]}/modules/config/index.php";
//$data_module = "{$_SERVER["DOCUMENT_ROOT"]}/modules/menu/data.php";

//include "$config_module";
//include "$data_module";

//echo $data_module;

include "{$_SERVER["DOCUMENT_ROOT"]}/modules/menu/menu_json.php";
echo "{$_SERVER["DOCUMENT_ROOT"]}/modules/menu/menu_json.php";


if (isset($_REQUEST["menu"])) echo(json_encode($menu));
else if (isset($_REQUEST["navbar"])) echo(json_encode($navbar));
else echo(json_encode(array()));

?>